Parameters vol is the name of the volume on which the special folder’s location is to be determined. If vol is the empty string, the current boot disk is used.
folder is the standard U. S. name of the special folder whose path is to be determined. Possible values are:
• "Apple Menu Items"
• "Control Panels"
• "Desktop Folder"
• "Extensions"
• "Fonts"
• "Preferences"
• "PrintMonitor Documents"
• "Startup Items"
• "System Folder"
• "Temporary Items"
• "Trash"
create is a boolean value indicating whether or not the desired folder should be created if it doesn’t exist on vol.
Action Looks on the indicated volume for the special folder, and creates it if necessary.
Returns The full path name of the requested folder.
» Misc:Järjestelmäkansio:Omenavalikko: «the Finnish version of System 7.0.1 is running.
If the folder did not exist before the call, it was created.]
Errors • If the folder parameter is not valid, or the requested folder could not be found or created, an error is generated.
• If the desired folder belongs in the System Folder and the volume does not contain a System Folder, no System Folder will be created, and an error will occur.
Notes Case is not significant in the folder parameter, and the word “Items” or “Folder” may be left out of those names in which it appears.